#include<stdio.h>
int main() {
    char c = 'a';
    short si = 1;
    int i = 1;
    long int li = 1000;
    long long int lli = 1000000;
    float f = 0.1;
    double d = 0.1;
    long double ld = 0.1;

    int* pi = &i;
    char* pc = &c;
    float* pf = &f;
    printf("size of char: \t\t\t\t%d byte\n", sizeof(c));
    printf("size of short: \t\t\t\t%d byte\n", sizeof(si));
    printf("size of int: \t\t\t\t%d byte\n", sizeof(i));
    printf("size of long int: \t\t\t%d byte\n", sizeof(li));
    printf("size of long long int: \t\t\t%d byte\n", sizeof(lli));
    printf("size of float: \t\t\t\t%d byte\n", sizeof(f));
    printf("size of double: \t\t\t%d byte\n", sizeof(d));
    printf("size of long double: \t\t\t%d byte\n\n", sizeof(ld));

    printf("size of int pointer: \t%d byte\n", sizeof(pi));
    printf("size of char pointer: \t%d byte\n", sizeof(pc));
    printf("size of float pointer: \t%d byte\n", sizeof(pf));
    return 0;
}